JSON Formatter / Minifier

Formatieren Sie JSON Daten mit dem JSON Formatter / Minifier Online.
Text to JSON Formatter
Konvertieren Sie Texte ins Format JSON für die spätere Integration in ein JSON Dokument.
prefix <div class="input-field type="text/javascript"> <input Texte (!$.isEmpty(jsonCode)) var <div col for="textCode">Text</label> textToJSONCodeField Formatieren type="checkbox"/> = col JSON != JSON $(_label).addClass("active"); waves-effect Formatter if für class="row"> </div> msg"jsonCode"; </div> } class="material-icons </div> class="material-icons class="col Integration </form> "success") prefix Format msg"status"; <textarea id="textToJSONCode" </script> die Text formatAjaxFormTextToJSONCallback(msg) = JSON class="std-form" for="textToJSONCode">JSON</label> std-copy" accept-charset="UTF-8"> <p>  class="col textToJSONCode $("#textToJSONCode"); ins <i } waves-light status var name="JSONCode" Sie <form if spätere = class="input-field var Daten id="escape" <div <label std-value-default="" JSON prefix std-reset-field></textarea> var } std-value-default="" s12"> col class="materialize-textarea class="input-field name="textCode" <textarea return; $("#jsonCode"); waves-effect s1 var class="materialize-textarea { std-left mit Minifier class="std-form" type="text/javascript"> <script var </div> <div { id="textCode" = to <form std-left <label in var msg"status"; } <div class="input-field <div <div jsonCode = method="post" id="submitMinifiying" col <script std-value-default="" dem </div> class="material-icons <i var var var (status if </div> std-btn = </div> { = waves-light </div> jsonCodeField std-ajax-form="formatter?action=json" <div jsonCodeField } = class="row"> minifyAjaxFormCallback(msg) class="row"> <p>  } Code</label> value="true" $(jsonCodeField).next("label"); function formatAjaxFormCallback(msg) function != jsonCode if for="jsonCode">JSON msg"jsonCode"; waves-effect JSON { $(textToJSONCodeField).val(textToJSONCode); { waves-light JSON var { = std-left status </div> ein class="std-btn <div <div <label> <a class="row"> = method="post" class="row"> btn">Convert</a> std-left">flag</i> Konvertieren s12"> status class="input-field return; std-left">message</i> name="jsonCode" M.textareaAutoResize($(textToJSONCodeField)); Formatter { return; "success") M.textareaAutoResize($(jsonCodeField)); if std-ajax-form="minifier?action=json" name="textToJSONCode" <i std-ajax-callback="minifyAjaxFormCallback" Dokument. <div std-copy" (!$.isEmpty(jsonCode)) <a { btn">Format</a> $(_label).addClass("active"); std-copy" btn">Minify</a> std-left">message</i> "success") Formatter Sie s12"> (status _label $(jsonCodeField).val(jsonCode); s12"> msg"jsonCode"; M.textareaAutoResize($(jsonCodeField)); </div> _label $(jsonCodeField).val(jsonCode); <p/> <p/> msg"status"; id="jsonCode" name="TextToJSONCode" id="submitFormatting" </label> = != (status std-ajax-form="formatter?action=texttojson" class="materialize-textarea class="std-btn </script> std-ajax-callback="formatAjaxFormCallback" <a $(jsonCodeField).next("label"); readonly></textarea> <label } s1"> name="escape" } </div> col </form> std-reset-field></textarea> / s12"> function accept-charset="UTF-8"> id="submitFormatting" <span>Escape</span> $("#jsonCode"); Online. <textarea / Minifier std-ajax-callback="formatAjaxFormTextToJSONCallback"
Good code is its own best documentation. As you’re about to add a comment, ask yourself, ‚How can I improve the code so that this comment isn’t needed?‘ Improve the code and then document it to make it even clearer
Steve McConnell
Formatieren Sie JSON Daten mit dem JSON Formatter / Minifier Online.
Konvertieren Sie Texte ins Format JSON für die spätere Integration in ein JSON Dokument.